<%@taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="S" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
      <h2>输出内容为</h2>
<div>
    <s:iterator id="news" value="#attr.newsList">
        <s:property value="#news.title"/>
        <s:property value="#news.contect"/>
        <s:property value="#news.pic"/>
        <s:property value="#news.boardId"/>  </br>
    </s:iterator>
</div>
</body>
</html>
